package com.bwie.student;

import com.alibaba.fastjson.JSON;
import com.bwie.common.domain.Student;
import com.bwie.common.utils.FastUtil;
import com.bwie.student.mapper.StudentMapper;
import org.elasticsearch.action.bulk.BulkRequest;
import org.elasticsearch.action.index.IndexRequest;
import org.elasticsearch.client.RequestOptions;
import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearch.index.query.QueryBuilder;
import org.elasticsearch.index.query.QueryBuilders;
import org.elasticsearch.index.reindex.DeleteByQueryRequest;
import org.elasticsearch.xcontent.XContentType;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

import java.util.List;

/**
 * @Author：ShenJiaFeng
 * @Package：com.bwieL
 * @Project：Default (Template) Project
 * @name：${NAME}
 * @Date：2024/2/17 8:53
 */
@SpringBootApplication
@MapperScan("com.bwie.student.mapper")
@Import(value = {FastUtil.class})
public class StudentApplication {
    public static void main(String[] args) {
        SpringApplication.run(StudentApplication.class);
    }
}
